package com.furn.service;

import com.furn.bean.Furn;

import java.util.List;

public interface FurnService {
    //添加
    public void save(Furn furn);

    //查询所有的家具信息
    public List<Furn> findAll();

    //修改家具
    public void update(Furn furn);

    //删除家具
    public void delete(Integer id);

    //根据id来返回家具信息
    public Furn findFurnById(Integer id);

    //根据家具名称进行查询
    public List<Furn> findByCondition(String name);
}
